﻿<Window x:Class="eNursePHR.userInterfaceLayer.WindowInsertHyperlink"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Insert web-address" Width="300" SizeToContent="Height"
    Background="{StaticResource BlueTheme}"
    Loaded="Window_Loaded"
    x:Name="wndInsertHyperlink"
    Icon="Images/URL.png"
    >
    <StackPanel Margin="5">
		<Label Content="Web-Address" FontWeight="Ultrabold" />
		<TextBox x:Name="tbAddress"
		 Text="{Binding ElementName=wndInsertHyperlink, Path=URL, UpdateSourceTrigger=PropertyChanged}" />
		<Label Content="Title" FontWeight="Ultrabold" />
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition />
				<ColumnDefinition Width="30"/>
			</Grid.ColumnDefinitions>
			<TextBox x:Name="tbTitle" 
			Grid.Column="0" 
			 Text="{Binding ElementName=wndInsertHyperlink, Path=WebTitle, UpdateSourceTrigger=PropertyChanged}" />
		
			<Button x:Name="btnGetTitle" Content="Get" Grid.Column="1" Click="btnGetTitle_Click" />
		</Grid>

	</StackPanel>
</Window>
